package com.smart.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.smart.common.domain.BaseEntity;

/**
 * 
 * 版权所有：xxxxxxx
 * @Description: 角色
 * @Title: Role.java 
 * @ClassName: Role 
 * @author tangyan 
 * @date 2019年2月13日 下午4:37:05 
 * @version V1.0
 */
@Entity
@Table(name = "role")
public class Role extends BaseEntity{
	
	/**
	 * 系统管理员
	 */
	public final static String  ROLE_CODE_ADMIN ="admin";
	
	/**
	 * 物业管理员
	 */
	public final static String ROLE_CODE_PM ="propertyManagement";
	
	/**
	 * 业主
	 */
	public final static String ROLE_CODE_PP ="proprietor";

	/**
	 * 角色编号
	 */
	@Column
	private String roleCode;
	
	/**
	 * 角色名称
	 */
	@Column
	private String roleName;

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	

}
